home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 8 / developer source - volume 8.iso / msysj / feb97 / platf104.gif < prev    next >
Graphics Interchange Format  |  1997-06-27  |  38.5 KB  |  414x294  |  4-bit (16 colors)
   ocr: Main Thread Second Thread 1. This thread wants on object, 50 It calls Cocreatelnstance. 2. Call marshaled by COM into main thread's apartment. Object created here. 3. Marshaling info passed back to caller. 4. Using marshaling info, proxy object created and connected to object in main thread. 5. CoCreatelnstance returns pointer to proxy. 5 Maln Thread Second Thread 6. When this thread makes a method call on the object, it object Proxy: is marshaled via the proxy to the main thread, and the result marshaled back. Figure 4A Nonthreaded Control in a Multithreaded Container